import { createNativeStackNavigator } from '@react-navigation/native-stack'
import Address from './add'
import Showads from './showads'

const Stack = createNativeStackNavigator()

export default function AddressLayout() {
  return (
    <Stack.Navigator screenOptions={{ headerShown: false }}>
  
      <Stack.Screen name="add" component={Address} options={{headerShown: true,headerTitle: '添加地址',headerTitleAlign:'center'}}/>
      <Stack.Screen name="showads" component={Showads} options={{headerShown: true,headerTitle: '收货地址管理',headerTitleAlign:'center'}}/>

    </Stack.Navigator>
  )
}